<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:decorate template="/resources/template/modelo.xhtml">
        <ui:define name="centro">
            <f:view encoding="ISO-8859-1">  

                <h:form>
                    <p:panel  header="Cadastro de Palavra-chave:" style="margin-bottom:10px;">  
                        <p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" escape="false" />  
                        <h:panelGrid columns="2">

                            <h:outputText value="Tema" />
                            <h:inputText label="Tema" value="#{temaBean.tema.tema}" required="true" />
                            <p:commandButton action="#{temaBean.cadastroTema}" value="Cadastrar Tema"  ajax="false"  />

                        </h:panelGrid>  
                    </p:panel>
                </h:form>    
            </f:view>
        </ui:define>
    </ui:decorate>
</html>